﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.ENTITYS
{
    public class ViewModelDDTSH_KQSH
    {
        public int? Page { get; set; }
        public string pDVGTVT_MA { get; set; }
        public string pKH_MA { get; set; }
        public string pKH_LOP_MA { get; set; }
        public string pHV_MA { get; set; }
        public string pHV_HOTEN { get; set; }
        public string pHV_CMND { get; set; }
        public string pHV_SBD { get; set; }

        public IPagedList<ViewDDTSH_KQSH> SearchResults { get; set; }
    }

    public class ViewDDTSH_KQSH
    {
        public decimal? ID { get; set; }
        public string DTSH_KQSH_DVGTVT_MA { get; set; }
        public string DTSH_KQSH_DTSH_TTSH_MA { get; set; }
        public string DTSH_KQSH_KH_MA { get; set; }
        public string DTSH_KQSH_KH_LOP_MA { get; set; }
        public string DTSH_KQSH_HV_MA { get; set; }
        public string DTSH_KQSH_SBD { get; set; }

        public string DTSH_KQSH_DTSH_TTSH_TEN { get; set; }
        public string DTSH_KQSH_DVGTVT_TEN { get; set; }
        public string DTSH_KQSH_HV_TEN { get; set; }
        public string DTSH_KQSH_HV_GIOITINH { get; set; }

        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public string DTSH_KQSH_HV_NGAYSINH { get; set; }

        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? DTSH_KQSH_NGAYSH { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public decimal? DTSH_KQSH_LT { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public decimal? DTSH_KQSH_TD { get; set; }
        [DisplayFormat(DataFormatString = "{0:0}", ApplyFormatInEditMode = true)]
        public decimal? DTSH_KQSH_TH { get; set; }
        public string DTSH_KQSH_VANG_LT { get; set; }
        public string DTSH_KQSH_VANG_TH { get; set; }
        public string DTSH_KQSH_VANG_TD { get; set; }
        public string DTSH_KQSH_NGUOINHAP { get; set; }

        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? DTSH_KQSH_NGAYNHAP { get; set; }

        public string DTSH_KQSH_KQ { get; set; }

    }
}
